package com.guoyansoft.model.service.impl;

import com.guoyansoft.config.R;
import com.guoyansoft.model.dao.CustomerStarDao;
import com.guoyansoft.model.pojo.CustomerStar;

import com.guoyansoft.model.service.CustomerStarService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CustomerStarServiceImpl implements CustomerStarService {
    @Autowired
    private CustomerStarDao customerStarDao;
    @Override
    public R queryAll() {
        List<CustomerStar> customerStars = customerStarDao.selectAll();
        return R.suc(customerStars);
    }
}
